#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int Strlen(char* arr)
{
	if (*arr != '\0')
		return 1 + Strlen(arr + 1);
	else
		return 0;
}
int main()
{
	char arr[] = "china";
	int ret = Strlen(arr);
	printf("%d", ret);
	return 0;
}  

#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int Strlen(char* arr)

{

	int i = 0;

	while (*arr != '\0')

	{

		arr += 1;

		i++;

	}

	return i;

}

int main()

{

	char arr[] = { "china" };

	int ret = Strlen(arr);

	printf("%d", ret);

	return 0;

}